#pragma once
#include <Arduino.h>

class MotionSensor {
public:
    MotionSensor(uint8_t pin);
    void begin();
    bool isHumanDetected();
    
private:
    uint8_t _pin;
    bool _lastState = false;
};
